package study.javaee.practice.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import study.javaee.practice.entity.Draw;
import study.javaee.practice.service.impl.DrawServiceImpl;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class DrawController {



    @Resource
    private DrawServiceImpl drawService;
    @RequestMapping("/dLog")
    public List<Draw> drawLog(){return drawService.findLog();}
    @RequestMapping("/dProject")
    public List<Draw> drawProject(){return drawService.findProject();}
    @RequestMapping("/dProjectJoinApply")
    public List<Draw> drawProjectJoinApply(){return drawService.findProjectJoinApply();}

}
